<?php
class Language {
	private $props=Array();
	public function __construct($lang) {
		$props=file(SYSTEM_PATH.'/apps/languages/'.$lang.'.yaml');
		foreach($props as $raw){
			$tmp=split(':',$raw);
			$this->props[trim($tmp[0])]=trim($tmp[1]);
		}
	}
	public function get($key){
		return $this->props[$key];
	}
}
?>
